<?php error_reporting(0) ?>
<input 
    type="hidden" 
    value="<?php echo $item->Id ?>" 
    id="Id" name="Id"
    />
<form id="_form_edit_panel" name="_form_edit_panel" 
      action="" method="POST" onsubmit="return false;"
      target="integration_asynchronous" autocomplete="off">
    <div class="widget- row-fluid">
		<div class="well form-horizontal" style="border:none">
			
			<div class="control-group">
				<label class="control-label">TYPE</label>
				<div class="controls">
					
					<select id="Type" name="Type" class="span12">
						<option value="SLIDER HOMPAGE" <?php if($item->Type=="SLIDER HOMPAGE") echo 'selected=1' ?>>SLIDER HOMPAGE</option>
						
					</select>
				</div>
			</div>
			
			<div class="control-group">
				<label class="control-label">TITLE :</label>
				<div class="controls">
					<input type="text" 
						class="span12 validate[required]"
						data-prompt-position="topLeft:-1,-5"
						id="Title" name="Title" 
						value="<?php echo quotes_to_entities($item->Title) ?>"
						/>
			   </div>
			</div>
			
			<div class="control-group">
				<label class="control-label">IMAGE  :</label>
				<div class="controls">
					<input type="text" class="uneditable-input span12" 
						id="Source" name="Source" 
						value="<?php echo quotes_to_entities($item->Source) ?>"
						/>
					<i class="icon-picture field-icon" 
						onclick="BrowseServer('#Source')"
						title="CHOOSE IMAGE"></i>
			   </div>
			</div>
			
			<div class="control-group">
				<label class="control-label">Link  :</label>
				<div class="controls">
					<input type="text" class="uneditable-input span12" 
						id="Link" name="Link" 
						value="<?php echo quotes_to_entities($item->Link) ?>"
						/>
					<i class="icon-link field-icon" 
						title="Chọn link"></i>
			   </div>
			</div>
			
			<div class="control-group">
				<label class="control-label">DESC :</label>
				<div class="controls">
					<textarea 
						rows="1"
						id="Desc" name="Desc" class="span12"
						><?php echo quotes_to_entities($item->Desc) ?></textarea>
						
			   </div>
			</div>
			
			
			
			<div class="control-group">
				<label class="control-label">&nbsp;</label>
				<div class="controls">
					<div class="span6">
						<div>POSITION</div>
						<input type="number" 
							class="span12"
							id="Position" name="Position" 
							value="<?php echo $item->Position ?>"
							/>
					</div>
					<div class="span6">
						<div>STATUS</div>
						<select id="Active" name="Active" class=" span12">
							<option value="true" <?php if($item->Active!='false') echo 'selected=1' ?>>ENABLE</option>
							<option value="false">DISABLE</option>
						</select>
						
					</div>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">&nbsp;</label>
				<div class="controls">
					<div>
						<?php if(!empty($item->Insert)) echo "CREATED  : $item->Insert" ?>
					</div>
					<div>
						<?php if(!empty($item->Update)) echo "MODIFIELD : $item->Update" ?>
					</div>
				</div>
			</div>
		</div>
	</div>
    
    
    
    
    
    
    
</form>